8bc5a396f03f316e12ce133de7e9af72a2ac8bdc,python/src/com/jetbrains/python/testing/pytest/PyTestRunConfiguration.java,PyTestRunConfiguration,checkConfiguration,#,76
Before Change
@Override
public void checkConfiguration() throws RuntimeConfigurationException {
super.checkConfiguration();
if (!new File(getRunnerScriptPath()).exists()) {
throw new RuntimeConfigurationError("No py.test runner found in selected interpreter");
}
}
After Change
@Override
public void checkConfiguration() throws RuntimeConfigurationException {
super.checkConfiguration();
final String path = getRunnerScriptPath();
if (path == null || !new File(path).exists()) {
throw new RuntimeConfigurationError("No py.test runner found in selected interpreter");
}
}